/* 企业管理管理模块 */
import {
    createAction,
  } from 'redux-actions'
  import {
    companyManage,
  } from 'api'
  import {
    createAjaxAction,
  } from 'utils'
  
  
  //国际机构-列表基础数据
  export const internationalMachinerySelect = createAjaxAction(
    companyManage.internationalMachinerySelectList,
  )
  //国际机构-列表详情查看
  export const internationalMachineryInfo = createAjaxAction(
    companyManage.internationalMachineryInfoList,
  )
  //国际机构-添加机构
  export const addInternationalMachinery = createAjaxAction(
    companyManage.addInternationalMachineryList,
  )
   //国际机构-编辑机构
  export const editInternationalMachinery = createAjaxAction(
    companyManage.editInternationalMachineryList,
  )
   //国际机构-删除机构
  export const deleteInternationalInfo = createAjaxAction(
    companyManage.deleteInternationalInfoList,
  )
  //国际机构-添加机构课程
  export const addMachineryCourse = createAjaxAction(
    companyManage.addMachineryCourseList,
  )
  //国际机构-编辑机构课程
  export const editMachineryCourse = createAjaxAction(
    companyManage.editMachineryCourseList,
  )
  //国际机构-查询机构课程详情
  export const machineryCourseInfo = createAjaxAction(
    companyManage.machineryCourseInfoList,
  )
  //国际机构-删除机构课程
  export const deleteCourseInfo = createAjaxAction(
    companyManage.deleteCourseInfoList,
  )

  
  //行业协议-列表基础数据
  export const industryAssociationSelect = createAjaxAction(
    companyManage.industryAssociationSelectList,
  )
  //行业协议-列表详情查看
  export const industryAssociationInfo = createAjaxAction(
    companyManage.industryAssociationInfoList,
  )
  //行业协议-添加
  export const addIndustryAssociation = createAjaxAction(
    companyManage.addIndustryAssociationList,
  )
  //行业协议-编辑
  export const editIndustryAssociation = createAjaxAction(
    companyManage.editIndustryAssociationList,
  )
  //行业协议-删除
  export const deleteIndustryAssociation = createAjaxAction(
    companyManage.deleteIndustryAssociationList,
  )

  //陵园列表-列表基础数据
  export const cemeteryListSelect = createAjaxAction(
    companyManage.cemeteryListSelectList,
  )
  //陵园列表-列表详情查看
  export const cemeteryListInfo = createAjaxAction(
    companyManage.cemeteryListInfoList,
  )
  //陵园列表-添加
  export const addCemeteryList = createAjaxAction(
    companyManage.addCemeteryListList,
  )
  //陵园列表-编辑
  export const editCemeteryList = createAjaxAction(
    companyManage.editCemeteryListList,
  )
  //陵园列表-删除
  export const deleteCemeteryList = createAjaxAction(
    companyManage.deleteCemeteryListList,
  )

  //殡仪馆列表-列表基础数据
  export const funeralParlourSelect = createAjaxAction(
    companyManage.funeralParlourSelectList,
  )
  //殡仪馆列表-列表详情查看
  export const funeralParlourInfo = createAjaxAction(
    companyManage.funeralParlourInfoList,
  )
  //殡仪馆列表-添加
  export const addFuneralParlour = createAjaxAction(
    companyManage.addFuneralParlourList,
  )
  //殡仪馆列表-编辑
  export const editFuneralParlour = createAjaxAction(
    companyManage.editFuneralParlourList,
  )
  //殡仪馆列表-删除
  export const deleteFuneralParlour = createAjaxAction(
    companyManage.deleteFuneralParlourList,
  )

  //公司列表-列表基础数据
  export const companyListSelect = createAjaxAction(
    companyManage.companyListSelectList,
  )
  //公司列表-列表详情查看
  export const companyListInfo = createAjaxAction(
    companyManage.companyListInfoList,
  )
  //公司列表-操作状态
  export const companyHandle = createAjaxAction(
    companyManage.companyHandleList,
  )
  //公司列表-新增公司
  export const addCompany = createAjaxAction(
    companyManage.addCompanyList,
  )
  //公司列表-编辑公司
  export const editCompany = createAjaxAction(
    companyManage.editCompanyList,
  )
  //公司列表-检查名字
  export const checkCompanyName = createAjaxAction(
    companyManage.checkCompanyNameList,
  )

  //需求广场-列表基础数据
  export const demandSquareSelect = createAjaxAction(
    companyManage.demandSquareSelectList,
  )
  //需求广场-隐藏需求
  export const demandSquareHide = createAjaxAction(
    companyManage.demandSquareHideList,
  )

  //招聘广场-列表基础数据
  export const employmentSquareSelect = createAjaxAction(
    companyManage.employmentSquareSelectList,
  )
  //招聘广场-隐藏信息
  export const hideEmployment = createAjaxAction(
    companyManage.hideEmploymentList,
  )

  //关联员工-员工列表查询
  export const getStaffList = createAjaxAction(
    companyManage.getStaffListList,
  )
  //关联员工-绑定提交
  export const relatedSend = createAjaxAction(
    companyManage.relatedSendList,
  )
  //解绑员工-查询该公司已绑定的员工
  export const getRelatedStaff = createAjaxAction(
    companyManage.getRelatedStaffList,
  )
  //解绑员工-解绑提交
  export const untieSend = createAjaxAction(
    companyManage.untieSendList,
  )